<?php
class ErrorController extends Mac_Controller {
    
    public function indexAction() {
        
        $request = $this->getRequest();
        $errorMessage = $request->getParam('error');
        $this->view->error = $errorMessage;
    }
    
}